package mixed;

public class ReturnBeforeFinally {
	static int i = -1;

	static int f() {
		i = 0;
		try {
			return i = 1;
		} finally {
			i = 2;
			System.out.println("finally");
		}
	}

	public static void main(String[] args) {

		int k = f();
		System.out.println("return=" + k);
		System.out.println("i=" + i);
	}

}
